package com.sun.syndication.feed.module.feedburner;

import com.sun.syndication.feed.module.ModuleImpl;

public class FeedburnerModuleImpl extends ModuleImpl implements
        FeedburnerModule {

    private static final long serialVersionUID = -2042946656211963195L;
    private String origLink;

    protected FeedburnerModuleImpl(Class beanClass, String uri) {
        super(beanClass, uri);
    }
    
    public void setOrigLink(String value) {
        this.origLink = value;
    }

    public String getOrigLink() {
        return origLink;
    }

    public void copyFrom(Object obj) {
        FeedburnerModule m = (FeedburnerModule) obj;
        String link = m.getOrigLink();
        this.origLink = link;        
    }

    public Class getInterface() {
        return FeedburnerModule.class;
    }

    public Object clone() throws CloneNotSupportedException {
        FeedburnerModuleImpl ret = new FeedburnerModuleImpl(FeedburnerModule.class, FEEDBURNER_URI);
        ret.setOrigLink(this.getOrigLink());
        return ret;    
    }
}
